﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace AppManagement.Models
{
    #region Using
    using AppManagement.Helpers;
    #endregion

    public class DataContext
    {
        private static AppManagementEntities _dataContext = null;

        static DataContext()
        {
            _dataContext = new AppManagementEntities(GlobalVars.g_strEntityConnectionString);
        }

        public static AppManagementEntities Instance
        {
            get { return _dataContext; }
        }
    }
}